<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>项目模板修改历史</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link href="../../layui/css/layui.css" rel="stylesheet" type="text/css">
    <link href="../../css/style.css" rel="stylesheet" type="text/css">
    <script src="../../layui/layui.js"></script>
    <script src="../../js/util.js"></script>
    <script>
        layui.use(['layer', 'form', 'jquery'], function () {
            var layer = layui.layer;
            var form = layui.form;
            var $ = layui.$;
            $(document).ready(function () {
            	var seqId = getUrlParam("seqId");
            	var url = '/template2/findHis?seqId='+seqId;
            	$.ajax({
            		type:'post',
            		url:url,
            		success:function(data){
            			//var jsonParams=JSON.stringify(data);
            			$('#mgrId').val(data.id);
            			$('#cityId').val(data.cityId);
            			$('#startDate').val(data.startDate);
            			$('#endDate').val(data.endDate);
            			$('#everyDayStartTime').val(data.everyDayStartTime);
            			$('#everyDayEndTime').val(data.everyDayEndTime);
            			$('#isLocal').val(data.isLocal);
            			$('#threshold').val(data.threshold);
            			$('#cycle').val(data.cycle);
            			$('#cycleThreshold').val(data.cycleThreshold);
            			$('#isThreshold').val(data.isThreshold);
            			$('#realTime').val(data.realTime);
            			$('#localDate').val(data.localDate);
            			$('#isProvince').val(data.isProvince);
            		}
            	});
            });
        });

    </script>
</head>
<body>
<div class="content-box">
<div class="form-select-box"  align="center">
    <div class="layui-form layui-form-pane">
                    <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" >项目编码</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="mgrId"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label">地市编码</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="cityId"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">发送开始时间</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="startDate" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">发送结束时间</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="endDate" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">每日开始发送时间</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="everyDayStartTime" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">每日结束发送时间</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="everyDayEndTime" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">是否发送本地用户</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="isLocal" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label">整体阀值</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="threshold"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">周期短信发送类型</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="cycle" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label">周期阀值</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="cycleThreshold"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">是否设置阀值</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="isThreshold" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label">发送实时性</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="realTime"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">本地号码保存时间</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="localDate" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
			        <div class="layui-form-item">
			            <div class="layui-inline layui-inline-center">
			                <label class="layui-form-label" style="width:auto;">外地发送范围</label>
			                <div class="layui-input-block">
			                    <input type="text" name="province" lay-verify="required" id="isProvince" style="width:auto;float:left;"
			                           autocomplete="off" class="layui-input" disabled>
			                </div>
			            </div>
			        </div>
    </div>
</div>
</div>

</body>
</html>